package lambda;

import lambda.interfaces.Formula;
import org.junit.Test;

public class FormulaSubClass implements Formula {

	@Override
	public double calculate(int a) {
		return sqrt(a * 100);
	}

	@Test
	public void test() {
		FormulaSubClass fc = new FormulaSubClass();
		System.out.println(fc.calculate(100));
		System.out.println(fc.sqrt(16));
	}
}
